{case value='doAction'}
{peter:foreach exp="$_item['opt']['actions'] as $_action"}
<a {$_action.attr} href="{:addslashes($_action['getUrl']($_value))}">{:htmlspecialchars($_action['getMap']($_value))}</a>
{/peter:foreach}
{/case}